package com.iknight.utils;

import com.iknight.ann.oa.mapper.AnnCheckinMapper;
import com.iknight.ann.oa.model.AnnCheckinModel;
import com.iknight.mgr.core.utils.IkgDom4jUtils;

public class GenerateXml {
    //psvm
    public static void main(String[] args) {
        /**
         * 示例：生成mapper.xml文件
         */
        IkgDom4jUtils.createMapperDocument(AnnCheckinMapper.class, AnnCheckinModel.class, "t_ann_oa_checkin", "D:\\mapper");
        /**
         * 示例：生成html文件
         */
        IkgDom4jUtils.createTemplateDocument("d:\\mapper","index.tmpl.html");
    }
}
